import { base } from '@/config'
import http from '@/utils/request'

// 交易设置
const deal = {
  getSet: () => {
    return http.get(`${base.platform}/transactionSet/getSet`)
  },
  update: params => {
    return http.postJson(`${base.platform}/transactionSet/save`, params)
  }
}

export default deal
